var uname = "Runoob";
var score1 = 50;
var score2 = 30;
var sum = score1 + score2;
console.log("名字：" + uname);
console.log("总成绩：" + sum);
// 悬系运算符
var num1 = 9;
console.log("num1的值：" + num1);
var num2 = 9;
console.log("num2的值：" + num2);
var res = num1 > num2;
console.log("num1>num2:" + res);
var res = num1 < num2;
console.log("num1<num2:" + res);
var res = num1 == num2;
console.log("num1=num2:" + res);
var res = num1 != num2;
console.log("num1!=num2:" + res);
var avg = 20;
var percentage = 90;
console.log("avg值为：" + avg + ",percentage的值为：" + percentage);
var res = ((avg > 50) && (percentage < 100));
console.log("res" + res);
